print(bin(20))
print(type(bin(20)))
# '0b10100'
# <class 'str'>
print(bin(0o45))
# '0b100101'
print(bin(0x1F))
# '0b11111'
print(int(0b10))
print(type(int(0b10)))
# 2
print(int(0b11))
# 3
print(int(0o34))
# 28
print(int(0x1f))
# 31
print(int(0x3f))
# 63
print(hex(100))
print(type(hex(100)))
# '0x64'
# <class 'int'>
print(hex(0x1f))
# '0x1f'
print(hex(0o45))
# '0x25'
print(hex(0b101))
# '0x5'
print(oct(0x45))
# '0o105'
print(oct(0b101))
# '0o5'
print(type(oct(0b101)))
# <class 'str'>
